#pragma once

#include "models/user.hpp"
#include <string>

class Token {
public:
    static std::string generate(const std::string& username);
    static bool validate(const std::string& token, const std::string& username);
    static std::string extractUsername(const std::string& token);
};
